﻿namespace EventBusNet6;

public class ExecuteCommand:IExecuteCommand
{
    public string Arguments { get; set; }
    public string? OutputFile { get; set; }

    public StringBuilder OutData { get; set; }
    public string? ExePath { get; set; }

    public string? NoticeUrl { get; set; }

    public string Guid { get; set; }

    public string? Rename { get; set; }

    public ExecuteCommand(string arguments, string outputFile,string exePath, string noticeUrl, string guid, string? rename="")
    {
        Arguments = arguments;
        OutputFile = outputFile;
        Guid = guid;
        ExePath = exePath;
        NoticeUrl = noticeUrl;
        OutData = new StringBuilder();
        Rename = rename;
    }
}
